/*
 * AssetManager.h
 *
 *  Created on: 08/01/2012
 *      Author: Mariano
 */
#include "Common.h"
#include <string>
#include <list>
#include "Sprite.h"
#ifndef ASSETMANAGER_H_
#define ASSETMANAGER_H_

class AssetManager {
private:

	std::list<SDL_Surface *> surfaces;
public:
	AssetManager();
	virtual ~AssetManager();
	SDL_Surface* loadTexture(std::string filename);

	Sprite* loadSprite(std::string filename, int frameCount, int spriteW,
			int spriteH);

	void cleanUpTextures();
};

#endif /* ASSETMANAGER_H_ */
